﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false"  CodeFile="orders.aspx.cs" Inherits="OrderManager_orders" %>
<%@ Register Src="../extends/RecordControl.ascx" TagName="RecordControl" TagPrefix="uc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

        <script charset="utf-8" src="../kindeditor-min.js" type="text/javascript"></script>
        <script charset="utf-8" src="../lang/zh_CN.js" type="text/javascript"></script>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="../css/css.css" type="text/css" rel="stylesheet"/>
         <link rel="stylesheet" href="../themes/default/default.css" />
        <script src="../javascript/jscript.js" type="text/javascript"></script>
    <title>订单管理</title>
     <script type="text/javascript">

        function SelectItemed(ctrlID,operateIndex,recordID)
       {
             if(operateIndex==0)
            {
               __doPostBack('<%= hideButton.UniqueID%>',recordID);
            }
            if(operateIndex==1)
            {
            
                window.location="EditOrder.aspx?ID="+recordID+"&act=Edit";
            }
            if(operateIndex==2)
            {
            
                window.location="EditOrder.aspx?ID="+recordID+"&act=";
            }
       }
        </script>
</head>
<body>
<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
<div>

   <table class='table' cellspacing='1' cellpadding='3' width="98%" align='center' border='0'>
          <tbody>
            <tr>
              <td class='xingmu'>订单管理</td>
            </tr>
                
          </tbody>
        </table>

    
        
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
            <ContentTemplate>
                    <asp:Button ID="hideButton" runat="server" Text="BAODAP"     style="display:none" OnClick="hideButton_Click"/>
                  <uc1:RecordControl ID="RecordControl1" runat="server" OperateSet="删除,修改,详细信息" Query=" SELECT ORDERNO AS 订单编号,UEERNAME AS 用户姓名,ORDERDATE AS 提交订单日期,ORDERTOTALPRICE AS 订单总金额,INTEGRAL AS 赠送积分数,FEE AS 运费,PAYMODENAME AS 支付类型,SENDMODENAME AS 配送方式,ORDERSTATE AS 订单状态 FROM T_ORDER
 " pageSize="15" where=" UEERNAME "/>
            </ContentTemplate>
            </asp:UpdatePanel>
     
    </div>
     </form>
</body>
</html>
